    <div id="menu">
        <ul>
            <li class="dashboard {% if 'dashboard' == menu_current %}chosen{% endif %}"><a href="{{ url_for('dashboard') }}" title="">控制面板</a></li>
            <li class="post {% if 'post' == menu_current %}chosen{% endif %}"><a href="{{ url_for('entry_post') }}" title="">写文章</a></li>
            <li class="entry {% if 'entry' == menu_current %}chosen{% endif %}"><a href="{{ url_for('entry') }}" title="">文章管理</a></li>
            <li class="upload {% if 'upload' == menu_current %}chosen{% endif %}"><a href="{{ url_for('upload_manage') }}" title="">上传管理</a></li>
            <li class="comment {% if 'comment' == menu_current %}chosen{% endif %}"><a href="" title="">评论管理</a></li>
        {% if session.user.get('is_superuser',None) %}
            <li class="category {% if 'category' == menu_current %}chosen{% endif %}"><a href="{{ url_for('category') }}" title="">分类管理</a></li>
            <li class="themes {% if 'themes' == menu_current %}chosen{% endif %}"><a href="" title="">皮肤设置</a></li>
        {% endif %}
            <li class="logout"><a href="{{ url_for('logout') }}" title="">退出</a></li>
        </ul>
    </div>